#include <iostream>
#include <functional>

void print(const char* str,int num)
{
    std::cout<<str<<num<<std::endl;
}

int main()
{
    print("nahao",10);
    auto func1=std::bind(print,"nihao",std::placeholders::_1);
    func1(20);
    return 0;
}